xen/arm: processor: Use BIT(.., UL) instead of _AC(1, U) in SCTLR_ defines
authorJulien Grall <julien.grall@arm.com>
Tue, 14 May 2019 12:24:40 +0000 (13:24 +0100)
committerJulien Grall <julien.grall@arm.com>
Tue, 21 May 2019 10:59:29 +0000 (11:59 +0100)
commit8603d4a284f9f760217b74b5d91eb9439f9d9810
treed3617a1cc0a6ebc8d0c2b5c7558d8600f7ff2665
parent40d82802137385e841ab16b627f889f247c9cba2
xen/arm: processor: Use BIT(.., UL) instead of _AC(1, U) in SCTLR_ defines

Use the pattern BIT(..., UL) to make the code more readable. Note that
unsigned long is used instead of unsigned because SCTLR is technically
32-bit on Arm32 and 64-bit on Arm64.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/processor.h